<template>
  <div>
    <el-card :body-style="{ padding: '0px' }" class="teacher-box">
      
      <span slot="header" class="header"> {{ hname }} </span>
      <img :src="imgUrl" class="image" />

    </el-card>
  </div>
</template>

<script>
export default { 
  props: {
    hname : {type:String},
    imgUrl: {type:String},

  },

};
</script>

<style lang="less" scoped>
@import "TeacherCard.less";
</style>
